<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @product } %>
<% content_for :page_title do %>
  <%= page_header_back_button spree.admin_products_path, @product %>
  <%= Spree.t(:new_product) %>
<% end %>
<%= form_for [:admin, @product] do |f| %>
  <%= render 'form', f: f %>
  <%= render 'spree/admin/shared/new_resource_links' %>
<% end %>
